# handlers/urls.py
from tornado.web import url, StaticFileHandler
from handlers.file_search_handlers.file_search_handler import SearchContentHandler
from handlers.file_upload_handlers.file_upload_handler import FileUploadHandler, HealthHandler
from config import FILE_PREFIX, STATIC_PATH

URLS = [
    (r"/api/statics/(.*)", StaticFileHandler, {"path": STATIC_PATH}),

    (FILE_PREFIX + r"/upload", FileUploadHandler),
    (FILE_PREFIX + r"/health", HealthHandler),
    (FILE_PREFIX + r"/search", SearchContentHandler),  # 无需传递实例
]
